import i18n from '@/lang'
export const MOSHENGREN_ID = 2147483647;
export const genderList = [{
    label: i18n.t('common.male'),
    value: '1'
  },
  {
    label: i18n.t('common.female'),
    value: '0'
  },
];

export const lib_type_list = [{
    label: i18n.t('alarmRule_blacklist'), // 黑名单
    value: 1
  },
  {
    label: i18n.t('alarmRule_whitelist'),
    value: 2
  },
  {
    label: i18n.t('alarmRule_bed'),
    value: 9
  },
  {
    label: i18n.t('alarmRule_stranger'),
    value: 0
  },
]
export const face_alarm_type_List = [{
    label: i18n.t('noAlarm'),
    value: 0
  },
  {
    label: i18n.t('blackLib'), // 黑名单
    value: 1
  },
  {
    label: i18n.t('whiteLib'),
    value: 2
  },
  {
    label: i18n.t('alarmRule_stranger'), // 陌生人徘徊
    value: 3
  },
]

export const behavior_alarm_type_list = [{
    label: i18n.t('brawl'),
    value: '385'
  },
  {
    label: i18n.t('tumble'),
    value: '386'
  },
  {
    label: i18n.t('alarmRule_smoke'),
    value: '387'
  },
  {
    label: i18n.t('alarmRule_call'),
    value: '389'
  },
  {
    label: i18n.t('alarmRule_helmet'),
    value: '390'
  },
  {
    label: i18n.t('alarmRule_clothes'),
    value: '391'
  },
  {
    label: i18n.t('alarmRule_crowd'),// 人群过密告警
    value: '398'
  },
  {
    label: i18n.t('alarmRule_bed'),// 人群过密告警
    value: '901'
  },
  {
    label: i18n.t('alarmRule_pedestrian'), // 行人闯入
    value: '394'
  },
  {
    label: i18n.t('alarmRule_overFence'), // 翻越围栏告警
    value: '396'
  },
  {
    label: i18n.t('alarm_type_Leaving'), // 人员离岗
    value: '395'
  },
  {
    label: i18n.t('alarm_type_sleeping'),
    value: '388'
  },
  {
    label: i18n.t('alarmRule_noMask'),
    value: '401'
  },
  {
    label: i18n.t('alarmRule_noHelmet'),
    value: '402'
  },
  {
    label: i18n.t('alarmRule_noR'),
    value: '392'
  },
  {
    label: i18n.t('alarmRule_lean_out'),
    value: '403'
  },
]

export const status_alarm_type_list = [{
    label: i18n.t('alarmRule_thickSmoke'),
    value: "642"
  },
  {
    label: i18n.t('alarmRule_fire'),
    value: "641"
  },
  {
    label: i18n.t('alarm_type_fire_fighting_occupy'),
    value: "644"
  },
  {
    label: i18n.t('alarmRule_fire_noP'),
    value: "645"
  },
  {
    label: i18n.t('alarmRule_mouse'),
    value: "646"
  },
]

export const violation_alarm_type_list  = [
  {
    label: i18n.t('alarmRule_fire_extinguisher'),
    value: '705'
  },
  {
    label: i18n.t('alarmRule_electrostatic_discharge_time'),
    value: '706'
  },
]

export const nonvehicle_alarm_type_list  = [
  {
    label: i18n.t('alarm_type_cyclist'),
    value: '578'
  },
]

export const bed_alarm_type_list  = [
  {
    label: i18n.t('bed_type_cyclist'),
    value: '901'
  },
]

export const event_type_list = [
  {label:i18n.t('noAlarm'),value:0},
  {label:i18n.t('wander_warn'),value:1},
  {label:i18n.t('stay_alert'),value:2},
]